﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Backend/Backend.Master" Inherits="System.Web.Mvc.ViewPage<IntroduceCompany.OrderMaster>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	OrderDetails
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<!-- Begin one column tab content window -->
    <div class="onecolumn">
        <div class="header">
            <span>Chi Tiết Đơn Hàng</span>
            <div class="switchbutton">
                <a href="<%= Url.Action("OrderList", "Order") %>" class="button">Danh sách đơn đặt hàng</a>
            </div>
        </div><br class="clear" />
        <div class="content">
            <div class="orderdetails">
                <div>
                    <div class="or_fl"><label>Mã đơn hàng:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.OrderID) %></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Họ tên khách hàng:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.ClientName) %></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Điện thoại:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.Phone) %></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Email:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.Email) %></div>
                </div><br class="clear" />
                <div>
                    <div class="or_fl"><label>Địa chỉ:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.Address) %></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Ngày đặt hàng:</label></div>
                    <div class="or_fr"><%= Html.Encode(IntroduceCompany.Util.GeneralClass.ConvertDate_1B(Model.OrderDate))%></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Trạng thái:</label></div>
                    <div class="or_fr"><%= Html.Encode(Model.OrderStatus==true?"Đã giao hàng":"Chưa giao hàng") %></div>
                </div><br class="clear"/>
                <div>
                    <div class="or_fl"><label>Danh sách SP:</label></div>
                    <div class="or_fr"><% Html.RenderPartial("/Views/Backend/Order/ProductListOfOrder.ascx", ViewData["ProductListInOrder"]); %></div>
                </div><br class="clear"/>
            </div>
        </div>
    </div>
</asp:Content>

